package com.ztesoft.sca.model;

import java.util.Date;

public class RuleModel {
    private Long rid;

    private Long bid;

    private String ruleName;

    private Integer status;

    private Integer autoReview;

    private Integer ruleScoreType;

    private String scoreName;

    private String scoreSubname;

    private String comments;

    private Date createTime;

    private Integer isDelete;

    public RuleModel(){};
    public RuleModel(Long rid, Long bid, String ruleName, int status, int autoReview, int ruleScoreType,
			String scoreName, String scoreSubname, String comments, Date createTime, int isDelete) {
    	 this.rid = rid;
    	 this.bid = bid;
    	 this.ruleName = ruleName == null ? null : ruleName.trim();
    	 this.status = status;
    	 this.autoReview = autoReview;
    	 this.ruleScoreType = ruleScoreType;
    	 this.scoreName = scoreName == null ? null : scoreName.trim();
    	 this.scoreSubname = scoreSubname == null ? null : scoreSubname.trim();
    	 this.comments = comments == null ? null : comments.trim();
    	 this.createTime = createTime;
    	 this.isDelete = isDelete;
	}

	public Long getRid() {
        return rid;
    }

    public void setRid(Long rid) {
        this.rid = rid;
    }

    public Long getBid() {
        return bid;
    }

    public void setBid(Long bid) {
        this.bid = bid;
    }

    public String getRuleName() {
        return ruleName;
    }

    public void setRuleName(String ruleName) {
        this.ruleName = ruleName == null ? null : ruleName.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getAutoReview() {
        return autoReview;
    }

    public void setAutoReview(Integer autoReview) {
        this.autoReview = autoReview;
    }

    public Integer getRuleScoreType() {
        return ruleScoreType;
    }

    public void setRuleScoreType(Integer ruleScoreType) {
        this.ruleScoreType = ruleScoreType;
    }

    public String getScoreName() {
        return scoreName;
    }

    public void setScoreName(String scoreName) {
        this.scoreName = scoreName == null ? null : scoreName.trim();
    }

    public String getScoreSubname() {
        return scoreSubname;
    }

    public void setScoreSubname(String scoreSubname) {
        this.scoreSubname = scoreSubname == null ? null : scoreSubname.trim();
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments == null ? null : comments.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }
}
